<div id="menu">
  <nobr>
    %{--<g:link url="/doc">Home</g:link>--}%
    <g:if test="${session.user}">
      <em>${session.user?.firstName}&nbsp;${session.user?.lastName}</em>
      <g:link controller="login" action="logout">Logout</g:link>
    </g:if>
    <g:else>
      <g:link controller="login" action="login">Login</g:link>
    </g:else>
  </nobr>
</div>